package com.ruoyi.dgdData.domain.plat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 单轨吊制动力测试数据对象 data_dgd_zhdl
 * 
 * @author ruoyi
 * @date 2023-12-28
 */
@ApiModel(value = "单轨吊-制动力测试对象")
public class DataDgdZhdl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 制动力id */
    private Long zhdlId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long dataTaskId;

    /** 平板id */
    @ApiModelProperty(value = "平板id")
    private Long id;

    /** 平板任务id */
    @Excel(name = "平板任务id")
    @ApiModelProperty(value = "平板任务id")
    private Long taskId;

    /** 最大制动力 */
    @Excel(name = "最大制动力")
    @ApiModelProperty(value = "最大制动力")
    private String zdzhdl;

    /** 比值 */
    @Excel(name = "比值")
    @ApiModelProperty(value = "比值")
    private String bizhi;

    /** 总制动力 */
    @Excel(name = "总制动力")
    @ApiModelProperty(value = "总制动力")
    private String zzhdl;

    /** 额定制动力 */
    @Excel(name = "额定制动力")
    @ApiModelProperty(value = "额定制动力")
    private String edzhdl;

    /** 制动力数值List */
    @Excel(name = "制动力数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @ApiModelProperty(value = "制动力数值List")
    private String zhdlList;

    /**
     * 制动力
     */
    private String zhdl;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "保存时间")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    public void setZhdlId(Long zhdlId) 
    {
        this.zhdlId = zhdlId;
    }

    public Long getZhdlId() 
    {
        return zhdlId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setZdzhdl(String zdzhdl) 
    {
        this.zdzhdl = zdzhdl;
    }

    public String getZdzhdl() 
    {
        return zdzhdl;
    }
    public void setBizhi(String bizhi) 
    {
        this.bizhi = bizhi;
    }

    public String getBizhi() 
    {
        return bizhi;
    }
    public void setZzhdl(String zzhdl) 
    {
        this.zzhdl = zzhdl;
    }

    public String getZzhdl() 
    {
        return zzhdl;
    }
    public void setEdzhdl(String edzhdl) 
    {
        this.edzhdl = edzhdl;
    }

    public String getEdzhdl() 
    {
        return edzhdl;
    }
    public void setZhdlList(String zhdlList) 
    {
        this.zhdlList = zhdlList;
    }

    public String getZhdlList() 
    {
        return zhdlList;
    }

    public Date getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(Date saveTime) {
        this.saveTime = saveTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getZhdl() {
        return zhdl;
    }

    public void setZhdl(String zhdl) {
        this.zhdl = zhdl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zhdlId", getZhdlId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("zdzhdl", getZdzhdl())
            .append("bizhi", getBizhi())
            .append("zzhdl", getZzhdl())
            .append("edzhdl", getEdzhdl())
            .append("zhdlList", getZhdlList())
            .toString();
    }
}
